package com.whmall.service.crm.module.company.dao;

import com.whmall.service.crm.module.company.entity.CompanyAndUserApproveDO;
import com.whmall.service.crm.module.company.entity.qo.CompanyAndUserApproveQO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CompanyAndUserApproveMapper {

    int insertSelective(CompanyAndUserApproveDO record);

    CompanyAndUserApproveDO selectById(Long id);

    List<CompanyAndUserApproveDO> selectByTaskId(String taskId);

    List<CompanyAndUserApproveDO> selectBy(CompanyAndUserApproveQO qo);

    int updateByIdSelective(CompanyAndUserApproveDO record);

    int updateByIds(CompanyAndUserApproveQO qo);

    List<Map<String, Object>> selectCountByVerifyId(Long verifyId);

}